package com.bingxue.edu.parent.model.query;

import com.bingxue.edu.common.enums.ClassCategoryEnum;
import com.bingxue.edu.common.enums.TermEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author panbo
 * @since 2024/10/28
 */
@Data
@Schema(description = "选课查询条件")
public class ParentShopClassQuery {

    @Schema(description = "班级名称/老师名称")
    private String keyword;

    @Schema(description = "校区")
    private String campusId;

    @Schema(description = "年份")
    private Integer classYear;

    @Schema(description = "年级")
    @NotNull(message="请选择年级")
    private String grade;

    @Schema(description = "学期")
    private TermEnum term;

    @Schema(description = "类型")
    private ClassCategoryEnum classCategory;

    @Schema(description = "科目")
    @NotNull(message="请选择科目")
    private String subject;

    @Schema(description = "老师id")
    private String leadTeacherId;

    @Schema(description = "学生id")
    @NotNull(message = "学生id不能为空")
    private String studentId;

    private String arrangeTemplateId;
    private String timeTemplateId;
}
